package com.njtoyo.taxi.admin.mapper.master.mapper.local_service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.local_service.LifeDriverRegionCommodityMapping;
import com.njtoyo.taxi.admin.rest.presenter.local_service.commodity.IsPresentedPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.commodity.isPresented.IsPresentedPageWrapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 赠送商品规则配置表 Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2022-03-21
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface LifeDriverRegionCommodityMappingMapper extends BaseMapper<LifeDriverRegionCommodityMapping> {
    /**
     * 赠送商品列表
     */
    Page<IsPresentedPresenter> getPage(IsPresentedPageWrapper wrapper);

}
